<script setup>
import { ref,reactive } from "vue"
let str=ref("hello,world")
let obj=reactive({
  num:69,
  str1:"ganchuhao",
  grade:60
})
function func() {
  return 100
}
</script>
<template>
    <p>{{ str }}</p>
    <p>我是{{obj.str1}}学号是{{ obj.num}}</p>
    <p>我是{{obj.str1}}学号是{{ obj.num+200}}</p>
    <p>成绩{{ obj.grade>60?"及格":"不及格" }}</p>
    <p>func的返回值是{{ func() }}</p>
    <p>STR的单词有{{ str.split(' ').length }}个单词</p>

</template>
<style scoped>
</style>
<!-- <template>
<div>

</div>
</template>

<script setup>
    
</script>

<style scoped>

</style> -->
